const mongoose = require('mongoose');

const productsSchema = new mongoose.Schema({
	name: {
		type: String,
		required: true
	},
	price: {
		type: Number,
		required: true
	},
});

module.exports = mongoose.model('Product', productsSchema);
